const electron = require('electron');

function createWindow({ url, width = 1000, height = 618 }) {
    electron.Menu.setApplicationMenu(null);
    let main = new electron.BrowserWindow({ width, height });
    main.loadURL(url);
}

electron.app.on('ready', function() {
    createWindow({ url: 'http://localhost' });
})
